from ftllibs.items.itemtools import ItemIconData

class Item_3028():
    def __init__(self):
        self.parent=False
        self.Name="Chalice of Harmony"
        self.IconFileName="3028.png"
        self.ID=3028
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1005','1033']
        self.Builds_Into=['3174']
        self.Tags=['spell_block','mana_regen']
        self.Costs = 100
        self.Total_Costs = 890
        self.Description="+30 Magic Resist +7.5 Mana Regen per 5 seconds  UNIQUE Passive: Increases your Mana Regen by 1% per 1% Mana you are missing. Does not stack with Athene's Unholy Grail."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Magic_Resist += 30.0
        self.parent.Mana_Regen_per_5_seconds += 7.5
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

